package com.one.common.model.extra;

/**
 * Author: zhulunjun
 * Email: zhulunjun@qq.com
 * CreateDate: 2019/3/6 14:54
 * Description：首页tab切换
 **/
public class TabIndexExtra extends BaseExtra {

    private int index = -1;
    private int secondIndex = -1;

    public static final int INDEX_HOME  = 0;
    public static final int INDEX_ORDER  = 1;
    public static final int INDEX_MESSAGE  = 2;
    public static final int INDEX_MY  = 3;
    //公告模块 有些耦合
    public static final int INDEX_CAR_MESSAGE  = 3;

    public TabIndexExtra(int index) {
        this.index = index;
    }

    public TabIndexExtra(int index, int secondIndex) {
        this.index = index;
        this.secondIndex = secondIndex;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    public int getSecondIndex() {
        return secondIndex;
    }

    public void setSecondIndex(int secondIndex) {
        this.secondIndex = secondIndex;
    }
}
